<?php
class Mregister extends CI_Model{

	function tambah(){
		$nama = $this->input->post('nama');
		$fakultas = $this->input->post('fakultas');
		$jurusan = $this->input->post('jurusan');
		$user = $this->input->post('user');
		$password = $this->input->post('password');
		$data = array(
			'nama' => $nama,
			'fakultas' => $fakultas,
			'jurusan' => $jurusan,
			'user' => $user,
			'password' => $this->encrypt->SHA1($password)
			);
		$this->db->insert('profil_pemandu',$data);
	}
	
}
?>
